require "www/ali/util/api"
require "www/ali/util/tool"
require "www/ali/taobao/trade"
require "www/ali/taobao/tool"
require "www/ali/alisoft/user"
#汇聚Ali平台的ISV相关接口
module WWW
  class Ali
    @@VERSION = '0.5'
    @@APP_ID='17886'
    @@CERT_CODE='f14a71f0b09011ddb3e6cfd602199686'
    @@SIP_URL_PRE='http://sip.alisoft.com/sip/rest'
    @@ISV_URL_PRE='http://www.taokuaidi.cn/gwt_buyer/success'
    def self.set_app_id app_id
        @@APP_ID=app_id
    end
    def self.get_app_id
      return @@APP_ID
    end
    def self.set_cert_code code
      @@CERT_CODE=code
    end
    def self.get_cert_code
      return @@CERT_CODE
    end
    def self.set_sip_url_pre url
      @@SIP_URL_PRE=url
    end
    def self.get_sip_url_pre
      return @@SIP_URL_PRE
    end
   def self.set_isv_url_pre url
      @@ISV_URL_PRE=url
    end
    def self.get_isv_url_pre
      return @@ISV_URL_PRE
    end
  end
end
